#ifndef HOMEVIEW_H
#define HOMEVIEW_H
#include <QPropertyAnimation>
#include <qrect.h>
#include <QtDeclarative/QDeclarativeView>
#include <QDeclarativeView>

class HomeView : public QDeclarativeView
{
    Q_OBJECT
public:
    explicit HomeView(QWidget *parent = 0);


private:
    QPropertyAnimation *mAnimation;
    QRect* visibleRect;
    int visible;
    int left;
    QStringList qmlPathFile;
    QString innerQMLFile;

signals:

public slots:
    void toggleVisibility();
    void refreshQml();
    void previousQml();
    void loadNewQml(QString sFileName);
};

#endif // HOMEVIEW_H
